package stringExertises;

/**
 * @author: snail_mount
 * @date: 20/2/3 15:49
 * @description: 将字符串"aa,bb,cc" 以逗号进行切割。
 */
public class StringSplit {
    public static void main(String[] args) {
        String str = "aa,bb,cc";
        String[] split = str.split(",");
        for (int i = 0; i < split.length; i++) {
            System.out.print(split[i]+" ");
        }
    }
}
